home *** CD-ROM | disk | FTP | other *** search
- #include <stdio.h>
- #include <math.h>
- #include <OSUtils.h>
- #include <QuickDraw.h>
- #include <Sound.h>
-
- #include "Ninkasi:C++ util:generic.h"
- #include "Ninkasi:C++ util:complete_window.h"
- #include "ear_defines.h"
- #include "ear_decl.h"
- #include "ear_prototypes.h"
-
- void
- normal_text_style()
- {
- TextSize((short) normal_font_size);
- TextFace((Style) normal_text_face);
- TextFont((short) normal_font);
- }
-
-
-
- void
- copy_pascal_string(Str255 to,Str255 from)
- {
- int i,n;
- n = from[0];
- for (i=0; i<=n; i++) {
- to[i] = from[i];
- }
- }
-
- void
- arrow_cursor()
- {
- SetCursor(&arrow);
- }
-
- void
- watch_cursor()
- {
- CursHandle ch;
- ch = GetCursor(watchCursor);
- if (!VALID_HANDLE(ch)) {
- arrow_cursor();
- }
- else {
- HLock((Handle) ch);
- SetCursor(*ch);
- HUnlock((Handle) ch);
- }
- }
-